package com.hsq.end_of_period;

import org.junit.jupiter.api.Test;

import java.util.Arrays;
import java.util.Scanner;
import java.util.Vector;

public class Test_1 {
    public static void main(String[] args) {
//        int a = 2;
//        a = (a -= a * a) + a;
//        System.out.println(a);
//        char[][] c = new char[1][];
        Scanner scan = new Scanner(System.in);
        int[] a = new int[10];
        for (int i = 0; i < 10; i ++) {
            a[i] = scan.nextInt();
        }
        Arrays.sort(a);
        for (int i : a) {
            System.out.print(i + " ");
        }
    }
    @Test
    public void test1() {
        Vector<Integer> v = new Vector();
        v.add(1);
        new f1();
    }
}

class f1{
    int s = 100;
    public f1() {
        System.out.println("f1 s = " + s);
        a();
    }
    void a() {
        System.out.println("aaaa" + s);
    }
}

class f2 extends f1 {
    int s = 200;
    public f2() {
        System.out.println("f2 s = " + s);
        a();
    }
    void a() {
        System.out.println("bbb" + s);
    }
}
